package com.openflag.clientservice.domain;


import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum ResultStatus {
    SUCCESS(0, "Success"),
    USER_NOT_FOUND(-101, "User not found or password is wrong"),
    USER_ASSET_NOT_ENOUGH(-102, "User's asset is not enough"),
    USER_DID_NOT_BID(-103, "User did not bid"),
    BWIC_OVERDUE(-201, "BWIC is overdue"),
    ACCOUNT_LOGIN_ERROR(-301,"Password wrong or account do not exist"),
    REGISTER_SAME_ACCOUNT(-302,"Duplicate account"),
    REGISTER_WRONG_ACCOUNT(-303,"Account is lack of standardization"),
    REGISTER_WRONG_PASSWORD(-304,"Password is lack of standardization"),
    REGISTER_WRONG_POSITION(-305,"Position is wrong"),
    REGISTER_WRONG_NAME(-306,"Name is lack of standardization");


    private final int value;
    private final String reasonPhrase;
}
